<template>
	<view>
		<view class="zonghegedan">
			<view class="zonghegedantitle">
				用户
			</view>

			<view class="Integrated-artist" v-for="(item,index) in users" :key="item.userId">
				<view class="artistContent">
					<image style="border: 1px solid #F5F5F5;" :src="item.avatarUrl"></image>
					<view style="margin-left: 20rpx;">
						<view>
							<text>{{item.nickname}}</text>
						</view>
					</view>
				</view>
				<view class="artistText">
					<text>+</text>
					<text>关注</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		props: ['users'],
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.Integrated-artist {
		background-color: #fff;
		display: flex;
		align-items: center;
		padding: 20rpx 30rpx;
		justify-content: space-between;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;

		.artistContent {
			display: flex;
			align-items: center;

			image {
				width: 100rpx;
				height: 100rpx;
				border-radius: 100%;
			}
		}

		.artistText {
			display: flex;
			color: #B23B57;
			align-items: center;
			border: 1px solid #B23B57;
			border-radius: 10px;
			padding: 1px;
			-webkit-box-sizing: border-box;
			-moz-box-sizing: border-box;
			box-sizing: border-box;

			text {
				margin: 0 6rpx;
			}
		}
	}

	.zonghegedan {
		display: flex;
		flex-direction: column;
		padding: 30rpx 0 0 0;
		box-sizing: border-box;
		border-bottom: 1px solid #E5E5E5;

		.zonghegedantitle {
			border-top-left-radius: 10px;
			border-top-right-radius: 10px;
			background-color: #fff;
			padding: 30rpx;
			font-weight: 600;
			font-size: 17px;
		}

		.zonghe-gedancotent {
			padding: 10rpx 30rpx;
			background-color: #fff;
			display: flex;

			image {
				width: 100rpx;
				height: 100rpx;
				border-radius: 10px;
			}

			>view {
				display: flex;
				flex-direction: column;
				margin-left: 20rpx;
				justify-content: center;
			}
		}
	}
</style>
